package com.wuhunyu.client.err;

import com.wuhunyu.client.CommentServiceClient;
import com.wuhunyu.commonutils.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 课程评论兜底方法
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-25 21:28
 */
@Component
public class CommentServiceClientErr implements CommentServiceClient {

    @Override
    public CommonResult selectMemberInfo(String id) {
        return CommonResult.error("获取用户信息失败");
    }

}
